Freescale Semiconductor /SKEAZ1284 /MSCAN /CANRFLG

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CANRFLG

7 43 0 0 00 0 0 0 0 0 0 0 0 (0)RXF 0 (0)OVRIF 0 (00)TSTAT 0 (00)RSTAT 0 (0)CSCIF 0 (0)WUPIF

RXF=0, OVRIF=0, TSTAT=00, RSTAT=00, WUPIF=0, CSCIF=0

Description

MSCAN Receiver Flag Register

Fields

RXF

Receive Buffer Full Flag

0 (0): No new message available within the RxFG.

1 (1): The receiver FIFO is not empty. A new message is available in the RxFG.

OVRIF

Overrun Interrupt Flag

0 (0): No data overrun condition.

1 (1): A data overrun detected.

TSTAT

Transmitter Status

0 (00): TxOK: 0<=transmit error counter<96

1 (01): TxWRN: 96<=transmit error counter<128

2 (10): TxERR: 128<=transmit error counter<256

3 (11): Bus-off: 256<=transmit error counter

RSTAT

Receiver Status

0 (00): RxOK: 0<=receive error counter<96

1 (01): RxWRN: 96<=receive error counter<128

2 (10): RxERR: 128<=receive error counter

3 (11): Bus-off: 256<=transmit error counter (Redundant Information for the most critical CAN bus status which is “bus-off”. This only occurs if the Tx error counter exceeds a number of 255 errors. Bus-off affects the receiver state. As soon as the transmitter leaves its bus-off state the receiver state skips to RxOK too. Refer also to TSTAT[1:0] coding in this register. )

CSCIF

CAN Status Change Interrupt Flag

0 (0): No change in CAN bus status occurred since last interrupt.

1 (1): MSCAN changed current CAN bus status.

WUPIF

Wake-Up Interrupt Flag

0 (0): No wakeup activity observed while in sleep mode.

1 (1): MSCAN detected activity on the CAN bus and requested wakeup.

Links

() ()